package dynamic.ibatis.scripting.xmltags;




import java.util.List;

/**
 * @author Clinton Begin
 */
public class DMixedSqlNode implements SqlNode {
    private final List<SqlNode> contents;

    public DMixedSqlNode(List<SqlNode> contents) {
        this.contents = contents;
    }

    @Override
    public boolean apply(DynamicContext context) {
        contents.forEach(node -> node.apply(context));
        return true;
    }
}
